var huodongCtrl = require('./controllers/huodong');
var rewardsCtrl = require('./controllers/rewards');


module.exports = {
  bind:function(router){
      router.get('/hongbao/index',huodongCtrl.index); //红包活动页面
      router.get('/hongbao/test',huodongCtrl.test); //红包活动测试页面
      //发放优惠券
      //router.get('/rewards/giveCoupons/:couponsId/:validityPeriod',rewardsCtrl.giveCoupons);
      router.get('/rewards/giveCoupons/:couponsId/:validityPeriod',rewardsCtrl.giveCoupons);
  }
};